<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
	<script type="text/javascript" src="../js/vue.js"></script>
</head>
<body>
	<div id="app">
		<button @click="getSex">获取sex值</button>
		<select  v-model="base.sex">
			<option 
			v-for="(item,index) in sexStatus"
			:key="index"
			:value="item.value">
				{{item.label}}
			</option>
		</select>
	</div>
</body>
<script type="text/javascript">
	var vm = new Vue({
		el:'#app',
	    data: {
	    	base:{

	    	},
	    	sexStatus:[
	    		{value:'1',label:'男'},
	    		{value:'0',label:'女'}
	    	]},
	    	methods:{
	    		getSex(){
	    			alert(this.base.sex)
	    		}
	    	}
		});
</script>
</html>